//
//  SSCIAPUnityAdapter.h
//  Unity-iPhone
//
//  Created by xuzepei on 16/5/23.
//
//

#import <Foundation/Foundation.h>
#if __has_include(<SSCInternalSDKLib/SSCInternalSDKLib.h>)
#import <SSCInternalSDKLib/SSCInternalSDKLib.h>
#else
#import "IAPurchase.h"
#endif

@interface SSCIAPUnityAdapter : NSObject<IAPurchaseDelegate>

@property(nonatomic,strong)NSString* objectName;
@property(nonatomic,strong)NSString* restoreProductId;

- (void)setGameObjectName:(char*)name;
- (void)purchaseById:(char*)productId;
- (void)restorePurchaseById:(char*)productId;
- (void)restoreAllPurchases;

@end


